A prime ideal A of a commutative ring R is a proper ideal of R such that, a, b in R and ab in A imply that a is in A or b is in A .